package com.guess.lolguessing.porperties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "lol.jwt")
@Data
public class JwtProperties {
    /**
     *  用于登录注册的组件
     */
    private String key;
    private long ttl;
    private String tokenName;
}
